<div class="sidebar-nav">
<div <?php echo ($this->flexi_auth->in_group(1))?"":"style='display:none'" ?>>
 <a href="#stu-menu" class="nav-header collapsed" data-toggle="collapse"><i class="icon-leaf"></i>学生申请信息处理 <i class="icon-chevron-up"></i></a>
    <ul id="stu-menu" class="nav nav-list collapse <?php if($this->uri->segment(2)=='reg_apply') echo 'in';else echo ''; ?>">
        <li <?php echo ($this->uri->segment(2)=='reg_apply')?"class = active":""; ?>><a href="<?php echo $base_url;?>gass_auth_students/reg_apply">申请信息维护</a></li>
    </ul>
</div>
<div <?php echo ($this->flexi_auth->in_group(1))?"style='display:none'":"" ?>>
 <a href="#stu-data-menu" class="nav-header collapsed" data-toggle="collapse"><i class="icon-leaf"></i>生源管理 <i class="icon-chevron-up"></i></a>
    <ul id="stu-data-menu" class="nav nav-list collapse <?php if($this->uri->segment(2)=='manage_apply') echo 'in';else echo ''; ?>">
        <li <?php echo ($this->uri->segment(2)=='manage_apply')?"class = active":""; ?>><a href="<?php echo $base_url;?>gass_apply/manage_apply">生源查询审批</a></li>
    </ul>
</div>
<div <?php echo ($this->flexi_auth->in_group(1))?"style='display:none'":"" ?>>
<a href="#news-data-menu" class="nav-header collapsed" data-toggle="collapse"><i class="icon-briefcase"></i>公告管理 <i class="icon-chevron-up"></i></a>
    <ul id="news-data-menu" class="nav nav-list collapse <?php if($this->uri->segment(2)=='add_public_news' || $this->uri->segment(2)=='manage_public_news') echo 'in';else echo ''; ?>">
        <li <?php echo ($this->uri->segment(2)=='add_public_news')?"class = active":""; ?>><a href="<?php echo $base_url;?>gass_news/add_public_news">编辑新公告</a></li>
        <li <?php echo ($this->uri->segment(2)=='manage_public_news')?"class = active":""; ?>><a href="<?php echo $base_url;?>gass_news/manage_public_news"><?php echo ($this->flexi_auth->in_group(2))?"已发公告":"公告管理维护" ?></a></li>
    </ul>
</div>
<div <?php echo ($this->flexi_auth->in_group(3))?"":"style='display:none'" ?>>
<a href="#other-data-menu" class="nav-header collapsed" data-toggle="collapse"><i class="icon-globe"></i>其他数据维护 <i class="icon-chevron-up"></i></a>
    <ul id="other-data-menu" class="nav nav-list collapse <?php if($this->uri->segment(2)=='manage_recruit') echo 'in';else echo ''; ?>">
        <li <?php echo ($this->uri->segment(2)=='manage_recruit')?"class = active":""; ?>><a href="<?php echo $base_url;?>gass_recruit/manage_recruit">招生活动一览</a></li>
    </ul>
</div>
<div <?php echo ($this->flexi_auth->in_group(3))?"":"style='display:none'" ?>>
    <a href="#users-menu" class="nav-header collapsed" data-toggle="collapse"><i class="icon-user"></i>用户管理<i class="icon-chevron-up"></i></a>
    <ul id="users-menu" class="nav nav-list collapse <?php if($this->uri->segment(2)=='manage_user_accounts' || $this->uri->segment(2)=='manage_user_groups' || $this->uri->segment(2)=='manage_privileges') echo 'in';else echo ''; ?>">
        <li <?php echo ($this->uri->segment(2)=='manage_user_accounts')?"class = active":""; ?>><a href="<?php echo $base_url;?>gass_auth_teachers/manage_user_accounts">用户一览</a></li>
        <li <?php echo ($this->uri->segment(2)=='manage_user_groups')?"class = active":""; ?>><a href="<?php echo $base_url;?>gass_auth_teachers/manage_user_groups">角色维护</a></li>
        <li <?php echo ($this->uri->segment(2)=='manage_privileges')?"class = active":""; ?>><a href="<?php echo $base_url;?>gass_auth_teachers/manage_privileges">权限维护</a></li>
    </ul>
</div>
</div>
